package com.qc.entity;

public class Coupon {

	private long bId;
	
	//商家id
	private long shopId;
	
	//优惠券标题
	private String title;
	
	//活动开始时间
	private String startDate;
	//活动结束时间
	private String endDate;
	
	//优惠券开始时间
	private String couponStartDate;
	
	//优惠券结束时间
	private String couponEndDate;
	
	//订单金额
	private double money;
	
	//限定金额
	private double money2;
	
	//1 立减 2 满减 3 体验券
	private int type;

	//优惠券发布数量
	private int num;
	
	//优惠券领取数量
	private int numNumber;
	
	//内容 描述
	private String content;
	
	//优惠券是否过期 1 过期 2 未过期
	private int couponType;
	
	//优惠券使用状态
	private int couponState;
	
	//优惠券活动 是否过期  1 过期 2 未过期
	private int overdueState;
	
	//1 上架 2 下架
	private int shelvesState;
	
	//优惠券使用状态 1 未使用 2 使用
	private int useState;
	
	/**************优惠券字段**********************/
	//用户id
	private String userId;
	//优惠券id
	private long couponId;
	//优惠券编号
	private String couponNumber;
	
	//优惠券使用状态  0 未使用 1 使用
	private int state;
	
	private String createdTime;
	
	public long getbId() {
		return bId;
	}
	public void setbId(long bId) {
		this.bId = bId;
	}
	public long getShopId() {
		return shopId;
	}
	public void setShopId(long shopId) {
		this.shopId = shopId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCouponStartDate() {
		return couponStartDate;
	}
	public void setCouponStartDate(String couponStartDate) {
		this.couponStartDate = couponStartDate;
	}
	public String getCouponEndDate() {
		return couponEndDate;
	}
	public void setCouponEndDate(String couponEndDate) {
		this.couponEndDate = couponEndDate;
	}
	public double getMoney2() {
		return money2;
	}
	public void setMoney2(double money2) {
		this.money2 = money2;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public long getCouponId() {
		return couponId;
	}
	public void setCouponId(long couponId) {
		this.couponId = couponId;
	}
	public String getCouponNumber() {
		return couponNumber;
	}
	public void setCouponNumber(String couponNumber) {
		this.couponNumber = couponNumber;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public int getCouponState() {
		return couponState;
	}
	public void setCouponState(int couponState) {
		this.couponState = couponState;
	}
	public int getOverdueState() {
		return overdueState;
	}
	public void setOverdueState(int overdueState) {
		this.overdueState = overdueState;
	}
	public int getShelvesState() {
		return shelvesState;
	}
	public void setShelvesState(int shelvesState) {
		this.shelvesState = shelvesState;
	}
	public String getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	public int getUseState() {
		return useState;
	}
	public void setUseState(int useState) {
		this.useState = useState;
	}
	public int getNumNumber() {
		return numNumber;
	}
	public void setNumNumber(int numNumber) {
		this.numNumber = numNumber;
	}
	public int getCouponType() {
		return couponType;
	}
	public void setCouponType(int couponType) {
		this.couponType = couponType;
	}
	
	
	
	
}
